package hcn.cmc.bean.response;

import javax.xml.bind.annotation.*;
import java.util.List;

/**
 * @description:获取抗菌药物记录列表xml格式返参
 * @author: zhengcb10708
 * @create: 2020-12-15 16:46
 **/
@XmlRootElement(name = "Data")
public class AntibacterialApplyXMLResp {
    private Long Total;
    private List<AntibacterialApply> RecordsLists;
    @XmlElement(name = "Total")
    public Long getTotal() {
        return Total;
    }

    public void setTotal(Long total) {
        Total = total;
    }

    @XmlElementWrapper(name = "RequestLists")
    @XmlElement(name = "RequestList")
    public List<AntibacterialApply> getRecordsLists() {
        return RecordsLists;
    }

    public void setRecordsLists(List<AntibacterialApply> recordsLists) {
        RecordsLists = recordsLists;
    }
    @XmlAccessorType(XmlAccessType.FIELD)
    public static class AntibacterialApply {
        private String RecordId;               //记录id
        private String Name;                   // 病人姓名
        private String Sex;                    // 性别
        private String Age;                    //年龄
        private String HospizationId;          //住院号码
        private String SickbedId;              //床号
        private String DiagnoseName  ;         // 诊断名
        private String RequestDateTime;        // 申请日期
        private String ApplyStatus;            // 审核状态 [0待审核、1同意、2不同意]
        private String IsEmergency;            //紧急标志
        private String RequestDoctor;          // 申请医生代码
        private String RequestDoctorName;  	   //申请医生名称
        private String RequestDept;  	       //申请科室代码
        private String RequestDeptName;        //申请科室名称
        private DrugXmlResp Drug;              //药品对象

        public String getRecordId() {
            return RecordId;
        }

        public void setRecordId(String recordId) {
            RecordId = recordId;
        }

        public String getName() {
            return Name;
        }

        public void setName(String name) {
            Name = name;
        }

        public String getSex() {
            return Sex;
        }

        public void setSex(String sex) {
            Sex = sex;
        }

        public String getAge() {
            return Age;
        }

        public void setAge(String age) {
            Age = age;
        }

        public String getHospizationId() {
            return HospizationId;
        }

        public void setHospizationId(String hospizationId) {
            HospizationId = hospizationId;
        }

        public String getSickbedId() {
            return SickbedId;
        }

        public void setSickbedId(String sickbedId) {
            SickbedId = sickbedId;
        }

        public String getDiagnoseName() {
            return DiagnoseName;
        }

        public void setDiagnoseName(String diagnoseName) {
            DiagnoseName = diagnoseName;
        }

        public String getRequestDateTime() {
            return RequestDateTime;
        }

        public void setRequestDateTime(String requestDateTime) {
            RequestDateTime = requestDateTime;
        }

        public String getApplyStatus() {
            return ApplyStatus;
        }

        public void setApplyStatus(String applyStatus) {
            ApplyStatus = applyStatus;
        }

        public String getIsEmergency() {
            return IsEmergency;
        }

        public void setIsEmergency(String isEmergency) {
            IsEmergency = isEmergency;
        }

        public String getRequestDoctor() {
            return RequestDoctor;
        }

        public void setRequestDoctor(String requestDoctor) {
            RequestDoctor = requestDoctor;
        }

        public String getRequestDoctorName() {
            return RequestDoctorName;
        }

        public void setRequestDoctorName(String requestDoctorName) {
            RequestDoctorName = requestDoctorName;
        }

        public String getRequestDept() {
            return RequestDept;
        }

        public void setRequestDept(String requestDept) {
            RequestDept = requestDept;
        }

        public String getRequestDeptName() {
            return RequestDeptName;
        }

        public void setRequestDeptName(String requestDeptName) {
            RequestDeptName = requestDeptName;
        }

        public DrugXmlResp getDrug() {
            return Drug;
        }

        public void setDrug(DrugXmlResp drug) {
            Drug = drug;
        }
    }
}
